package oss

import (
	"os/user"
	"strings"
)

func UserHome() (string, error) {
	u, err := user.Current()
	if err != nil {
		return "", err
	}
	return strings.ReplaceAll(u.HomeDir, `\`, `/`) + "/", nil
}
